﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Spinning.Spinning.Entity.Items
{
    class AddScoreItem:AddTimeItem
    {
        public delegate void OnGetScoreItem();
        public OnGetScoreItem OnGetScoreItemEvent;

        public AddScoreItem() : base()
        {
        }

        public override void OnTounched(SingleGamePlayer player)
        {
            if (OnGetScoreItemEvent != null)
                OnGetScoreItemEvent();
        }
    }
}
